bun-test
Verified for current stable LTS
Bun Test Command: Run A Specific Test File Or Directory
Use for Run a specific test file or directory with Bun Test. Exact CLI syntax to Run a specific test file or directory using Bun Test.
When to use this: Use for Run a specific test file or directory with Bun Test.
Command Syntax
bun test <path/to/file.test.ts> bun test <path/to/file.test.ts> Command Breakdown
bun is the base executable for this command.
FAQ
Purpose: Exact syntax to Run a specific test file or directory using Bun Test.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Bun Test Command: Run All Test Files
bun test Bun Test Command: Run Tests In Watch Mode bun test --watch Bun Test Command: Run Tests With Coverage Report bun test --coverage Bun Test Command: Run All Tests Project bun test Bun Test Command: Run Specific Test File Or Directory bun test <path/to/file.test.ts>